//
//  AppDelegate+BaiduMap.m
//  ZPrograme
//
//  Created by 周成龙 on 16/6/16.
//  Copyright © 2016年 none. All rights reserved.
//

#import "AppDelegate+BaiduMap.h"
#import "BaiduMapHeader.h"

@implementation AppDelegate (BaiduMap)

#pragma mark - Baidu Map
- (void)setBaiduMapKitAppKey
{
    // 要使用百度地图，请先启动BaiduMapManager
    BMKMapManager* mapManager = [[BMKMapManager alloc]init];
    // 如果要关注网络及授权验证事件，请设定     generalDelegate参数
    BOOL ret = [mapManager start:@"8NDD6XRK1RrTYtlsuUzu0ZrbzCLxKM2w"  generalDelegate:nil];
    if (!ret) {
        NSLog(@"manager start failed!");
    }
}

@end
